package com.kelvin.paopao.injector.modules;

import com.kelvin.paopao.injector.PerActivity;
import com.kelvin.paopao.module.login.login.bindAccount.BindAccountActivity;
import com.kelvin.paopao.module.login.login.bindAccount.BindAccountPresenter;
import com.kelvin.paopao.module.login.login.bindAccount.IBindAccountPresenter;
import com.kelvin.paopao.module.market.wallet.charge.ChargeActivity;
import com.kelvin.paopao.module.market.wallet.charge.IWalletChargePresenter;
import com.kelvin.paopao.module.market.wallet.charge.WalletChargePresenter;

import dagger.Module;
import dagger.Provides;

/**
 * Created by MCK on 2017/5/23.
 */

@Module
public class BindAccountModule {
    private BindAccountActivity mView;

    public BindAccountModule(BindAccountActivity view) {
        this.mView = view;
    }

    @PerActivity
    @Provides
    public IBindAccountPresenter providePresenter() {
        return new BindAccountPresenter(mView);
    }

}
